package com.itboye.jinpuyiyuan.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/1/4 0004.
 *
 * "id": "1",
 "create_time": "1515055519",
 "update_time": "1515055519",
 "hid": "1",
 "name": "儿科",
 "parent": "0",
 "desc": "",
 "price": "1000",
 "child": [{
 "id": "7",
 "create_time": "1515055519",
 "update_time": "1515055519",
 "hid": "1",
 "name": "门诊儿科内",
 "parent": "1",
 "desc": "",
 "price": "1000",
 "child": []
 }, {
 "id": "8",
 "create_time": "1515055519",
 "update_time": "1515055519",
 "hid": "1",
 "name": "门诊儿科外",
 "parent": "1",
 "desc": "",
 "price": "1000",
 "child": []
 }]
 */

public class BranchDepartmentBean implements Serializable {

    String   id;
    String   create_time;
    String   update_time;
    String   hid;
    String   name;
    String   parent;
    String   desc;
    String   price;
    List<DepartmentChild> child;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getHid() {
        return hid;
    }

    public void setHid(String hid) {
        this.hid = hid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public List<DepartmentChild> getChild() {
        return child;
    }

    public void setChild(List<DepartmentChild> child) {
        this.child = child;
    }

    public static class DepartmentChild{

        String  id;
        String  create_time;
        String  update_time;
        String  hid;
        String  name;
        String  parent;
        String  desc;
        String  price;
        List    child;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getHid() {
            return hid;
        }

        public void setHid(String hid) {
            this.hid = hid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getParent() {
            return parent;
        }

        public void setParent(String parent) {
            this.parent = parent;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public List getChild() {
            return child;
        }

        public void setChild(List child) {
            this.child = child;
        }
    }
}
